home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / becproto.zip / SK&J0126.ZIP / JBATCH.DOC < prev    next >
Text File  |  1989-01-26  |  31KB  |  689 lines

  1. JBatch v1.19  MiniNet's Driver for Richard B. Johnson's Jmodem Protocol
  2.  
  3. Protocols Supported: Jmodem - Batch or Single File
  4.  
  5. Copyright 11/01/1988, 1989 by Crater Rim Software. All Rights Reserved.
  6.  
  7. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  8.  
  9. JBatch Licensing Agreement
  10. --------------------------
  11.    This program is the sole property of Crater  Rim  Software.  For  the 
  12.    sake of clarity, all references and restrictions to the use of JBatch 
  13.    also  apply  to any and all of the associated support files (included 
  14.    with or created by) JBatch. 
  15.  
  16.    JBatch,  its overlays and all of its associated support files are not 
  17.    public  domain  software,  nor  are  they  free  software.  JBatch is 
  18.    copyright (c) 1988,89 by Crater Rim Software. All rights reserved.
  19.  
  20.    Users are granted a limited license to use JBatch free of charge  BUT 
  21.    subject to the following limitations: 
  22.  
  23.      No user may modify JBatch in any way,  including but not limited 
  24.      to decompiling,  disassembling or otherwise reverse  engineering 
  25.      the program. 
  26.  
  27.      JBatch must be copied in unmodified form, complete with the file 
  28.      containing this license information. 
  29.  
  30.      Any and all JBatch documentation must be included with the copy.  
  31.      No  fee,  charge  or  other  compensation  may  be  accepted  or 
  32.      requested by any licensee. 
  33.  
  34.      JBatch  may  not  be  distributed  in conjunction with any other 
  35.      product without prior arrangements with Crater Rim Software. 
  36.  
  37.    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  38.    ********* ALL THIS IS SAYING IS THAT I WANT TO KNOW WHO HAS *********
  39.    *********    (and is using)  THIS FILE!  NOTHING MORE...    *********  
  40.    *                                                                   *
  41.    * Operators  of electronic bulletin board systems (Sysops) may post *
  42.    * JBatch for downloading by their users  and  may  use  the  JBatch *
  43.    * module  only  as  long as the above conditions are met and Crater *
  44.    * Rim Software has been notified of your intent to use JBatch       *
  45.    *                                                                   *
  46.    ******** ALL THIS IS SAYING IS THAT I WANT TO KNOW WHO HAS **********
  47.    ********    (and is using)  THIS FILE!  NOTHING MORE...    **********  
  48.    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  49.  
  50.    Those organizations who distribute public domain  or  user  supported 
  51.    software  on a pay per diskette basis may distribute copies of JBatch 
  52.    under the above conditions ONLY AFTER  OBTAINING  WRITTEN  PERMISSION 
  53.    from  Crater  Rim  Software.  Such  permission  usually  is  granted.  
  54.    Please write or call for details. 
  55.  
  56.    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  57.  
  58.                    Software Discalaimer and Warranty
  59.  
  60.    Crater  Rim  Software  makes  no  warranty  of  any kind,  express or 
  61.    implied,   including   without   limitation,    any   warranties   of 
  62.    merchantability  and/or fitness for a particular purpose.  Crater Rim 
  63.    Software shall  not  be  liable  for  any  damages,  whether  direct, 
  64.    indirect,  special  or  consequential  arising from a failure of this 
  65.    program to operate in the manner desired  by  the  user.  Crater  Rim 
  66.    Software shall not be liable for any damage to data or property which 
  67.    may be caused directly or indirectly by use of the program.  
  68.  
  69.    IN  NO  EVENT  WILL  Crater  Rim  Software  BE  LIABLE TO YOU FOR ANY 
  70.    DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL 
  71.    OR CONSEQUENTIAL DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO  USE 
  72.    THE PROGRAM, OR FOR ANY CLAIM BY ANY OTHER PARTY.  
  73.  
  74. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  75.  
  76. JBatch v1.14  MiniNet's Protocol Driver for Jmodem Batch
  77.  
  78. Memory requirements:
  79.  
  80.    JBatch  requires  a  minimum  of  103K  (105,472  bytes)  to  perform 
  81.    transfers.  If you don't know how much memory you have available,  it 
  82.    can be checked easily as follows: 
  83.  
  84.    1)  Copy  DOS' CHKDSK.COM  to your comm directory.
  85.  
  86.    2)  Start up your comm program and execute the comm program's DOS shell
  87.        option.
  88.  
  89.    3)  Type  CHKDSK  at the DOS prompt
  90.  
  91.    4)  CHKDSK will display its results along with the "bytes free" figure.
  92.        The "bytes free" must be at least 105,472.
  93.  
  94.    5)  Enter "EXIT" at the DOS prompt.
  95.  
  96.    6)  Exit your comm program...
  97.  
  98. Command line parameters :
  99.  
  100.    M        Monitor  Carrier,  abort  if  not  present.  Including  this 
  101.             parameter allows you to use JBatch to transfer files between 
  102.             systems  via  null  modem  cable.  Default  is  ON  (Monitor 
  103.             Carrier).
  104.  
  105.    Dx       Direction of transfer. Where x = R (receive) or S (send)
  106.  
  107.    F        The F parameter is used as a flag for JBatch and denotes that
  108.             all paramters after the F parameter are to be processed as
  109.             filenames.
  110.    
  111.    name     [d:\path\]Filename   to send/receive.
  112.  
  113.                                   or
  114.  
  115.             @drive:\path\]Filelist   of files to Batch send.
  116.  
  117.                                   or
  118.  
  119.             @drive:\path\]Filelist@drive:\path   filelist of files
  120.             (residing in the second drive:\path  directry) to Batch send.
  121.  
  122.    Px       Comm Port to use. Where x = 1 or 2
  123.  
  124.    Sbaud    Modem Speed. Where baud = 300, 1200, 2400, 4800, 9600, 19200
  125.  
  126.    Y        Override Overwrite Flag
  127.  
  128.               JBatch allows you to specify if you  want  overwriting  of 
  129.               existing  files  to  be  performed.  By  including  the  Y 
  130.               parameter on  the  command  line,  the  default  overwrite 
  131.               setting   will   be  reversed  during  the  current  BATCH 
  132.               transfer. 
  133.  
  134.               In single file mode, the Jmodem  Protocol Module is  fully 
  135.               compatible   with  its  stand-alone  counterpart  used  on 
  136.               all/most BBS. Both systems must be using JBatch to  invoke 
  137.               the Jmodem Batch Mode. 
  138.  
  139.    B          Override Batch Mode Flag
  140.  
  141.               The default setting for JBatch is Batch Mode. By including 
  142.               the  B parameter on the command line,  JBatch will perform 
  143.               the transfer in Single File mode.  If the  B  is  omitted, 
  144.               JBatch defaults to batch mode. 
  145.  
  146.    Nx       Node Letter or Number. Where x = A to Z  or  0 to 9
  147.  
  148.    @        Modify logfile name/xferfile name/path to JBA.COM/options flags...
  149.             Clone JBATCH.COM if changes are made 
  150.  
  151.             Note:  As is the case with Jmodem,  the  default  colors  of 
  152.                    JBatch  are  Black  text  on a White background.  The 
  153.                    colors cannot be changed. 
  154.  
  155.    The D, P and S parameters MUST be supplied...  if operating in single 
  156.    file mode, the  F and B  parameters must be supplied. The  Y, M and N 
  157.    parameters are optional...  and the  @  parameter  is  only  used  to 
  158.    review/modify the default settings (see modification mode below). 
  159.  
  160.    The  DR  and DS parameters are mutually exclusive (only one,  but not 
  161.    both) 
  162.  
  163.    Command Line parameters may be supplied as upper or lower  case,  and 
  164.    may be entered in any order.
  165.  
  166.  
  167. JB.LOG      -  JBatch will record transfer results to the logfile in the
  168.                following format:
  169.  
  170. +--- Transfer Direction
  171. |  +------- File Size (0 if transfer fails)
  172. |  |      +---------- Modem Speed
  173. |  |      |         +---------- CPS efficiency (0 if transfer fails)
  174. |  |      |         |        +--- Filename
  175. |  |      |         |        |                   +- Protocol
  176. |  |      |         |        |                   |      +-- If Batch Mode
  177. |  |      |         |        |                   |      |
  178. S  27648  1200 bps  108 cps  C:\DLS\JBATCH.ARC - Jmodem Batch
  179.  
  180.  
  181. XFER.TXT - If  (and only if) a Node character is specified,  JBatch will 
  182.            also create a Xfer Node File to show  success/failure  status 
  183.            messages.
  184.  
  185.            This file has the following format :
  186.  
  187.                 Filename
  188.                 Upload   or   Download
  189.                 Protocol      (Jmodem or JBatch)
  190.                 Success  or   Fail
  191.                 EOF           (^Z)
  192.  
  193.            Sample:
  194.  
  195.                 JBATCH.ARC
  196.                 Download
  197.                 JBatch
  198.                 Success
  199.                 ^Z
  200.  
  201.    The file will be created in the default directory if no drive/path is 
  202.    specified during the command  line  @  parameter  modification  mode. 
  203.    While  in  batch  mode,  only  the last file transfer results will be 
  204.    logged to this file.  However, JB.LOG will contain the results of all 
  205.    files transferred in the batch. 
  206.  
  207.  
  208. Command Line @ Parameter Modification Mode.
  209.  
  210.    Starting JBatch with the @ command line  parameter  will  put  JBatch 
  211.    into  its  default  modification mode.  JBatch will first display its 
  212.    current default settings and then prompt you for any changes you  may 
  213.    wish  to  make.  Note  that  entering  a  blank  line (simply hitting 
  214.    [Enter])  will  leave  the  current  setting  intact.  JBatch  allows 
  215.    modification  of  the logfile name,  the xfer file name (for BBS use) 
  216.    and certain operational flags. 
  217.  
  218.    J - JB Path:
  219.  
  220.        Although in most cases,  you will be storing JBA.COM in the  same 
  221.        directory  as your comm/BBS program files,  there are cases where 
  222.        you may want to store JBA.COM  in  a  directory  other  than  the 
  223.        logged directory.  The JB Path allows you to do this. When JBatch 
  224.        begins the actual Jmodem transfer, it shells out to DOS and loads 
  225.        the JBA.COM module.  If a JB Path has been defined,  JBatch  will 
  226.        prefix the JBA.COM with this path. If, after defining a path, you 
  227.        decide  that  it is NOT required,  simply enter a backslash \ for 
  228.        the new path.  This will cause JBatch to null  out  any  existing 
  229.        path.
  230.  
  231.    L - Logfile Name:
  232.  
  233.        This  is  the  filename  JBatch uses to record the results of any 
  234.        tranfers it performs.  JBatch will accept upto 40  characters  so 
  235.        you  may include a full drive:\path\ along with the logfile name. 
  236.        Additionally,  you may use a question mark (?) as one  (and  only 
  237.        one)  of  the  logfile  name  characters.  If  a question mark is 
  238.        present,  JBatch will substitute the Node character in its place.  
  239.        If  no node character is specified,  JBatch will use the letter A 
  240.        as a Node character.  The letter A is  substituted  ONLY  if  the 
  241.        question  mark is encountered in the logfile name.  If you do not 
  242.        want JBatch to maintain a logfile, simply enter a backslash (\).. 
  243.        which will inform JBatch to  blank  out  the  logfile  name.  The 
  244.        default logfile name is JBatch.LOG 
  245.  
  246.    X - XferFile Name:
  247.  
  248.        This  is  the filename JBatch uses to record transfer results for 
  249.        use by BBS programs.  Its format and modification is identical to 
  250.        the Logfile Name. The default Xferfile name is XFER.TXT
  251.  
  252.    O - Overwrite:
  253.  
  254.        This flag setting tells JBatch whether or not  in  can  overwrite 
  255.        existing files during Batch mode transfers. If the Overwrite flag 
  256.        is  set  (YES),  JBatch  will  erase  any duplicate file prior to 
  257.        beginning the transfer of  the  new  same-filename  file...  thus 
  258.        eliminating the presence of any *.OLD files. The default is NO 
  259.  
  260.    S - Save Aborts:
  261.  
  262.        This  flag setting tells JBatch whether or not it should keep any 
  263.        partial files which were aborted during transfer. This flag holds 
  264.        for batch mode only.  When operating in batch mode,  JBatch sends 
  265.        both  the  filename  and  filesize to the receiving system.  Upon 
  266.        completion (or abort),  JBatch checks the size of the transported 
  267.        file  against the actual filesize sent with the filename.  If the 
  268.        the filesizes are not the same (the actual filesize is less  than 
  269.        the filesize sent with the filename) ... and the Save-Aborts flag 
  270.        is  off  (NO)...  JBatch will erase the partial file.  Understand 
  271.        that this process takes place only  on  the  receiving  end!  The 
  272.        default is YES 
  273.  
  274.    W - Write On 0:
  275.  
  276.        This flag setting tells JBatch whether or not  it  should  create 
  277.        the  XferFile when a transfer is not successfully completed.  The 
  278.        status of this flag is the last check that  JBatch  makes  before 
  279.        creating the XferFile. A node character and XferFile Name must be 
  280.        specified before the Write On 0 flag comes into play. The default 
  281.        is YES 
  282.  
  283.    [Enter] Quit:
  284.  
  285.        If you only wish to view the current default settings, simply hit 
  286.        [Enter]  to  exit  back  to  DOS.  If any changes have been made, 
  287.        JBatch will go into its cloning mode and ask if you want to clone 
  288.        JBatch to preserve the new changes.  Note that you MUST press the 
  289.        Y key in order to clone JBatch.  Hitting [Enter] here will simply 
  290.        return you to DOS without saving your changes within  the  JBatch 
  291.        program. 
  292.  
  293.  
  294. Program control keys:
  295.  
  296.        JBatch  will recognize either the [Esc] key or ^X (control X) key 
  297.        during transfers and will abort the current  transfer,  returning 
  298.        you  to  DOS.  I  have  modified  the  Jmodem  module (JM.COM) to 
  299.        eliminate as much as the delays as possible...  making the  batch 
  300.        mode cycling quite "brisk"! Note however that there is a delay if 
  301.        the transfer is aborted for any reason... this is due to the fact 
  302.        that the buffers have to be "drained" before recycling. 
  303.  
  304.  
  305. Batch transfers:
  306.  
  307.        JBatch  is  capable  of  sending  and receiving multiple files in 
  308.        batch mode.  Since this protocol driver was written for use  with 
  309.        my  MiniNet BBS package...  the sending of the file creation date 
  310.        (ala DSZ and Telink) tends to drive  me  up  the  wall,  creating 
  311.        quite  a  bit  of  confusion  in keeeping track of newly acquired 
  312.        files! 
  313.  
  314.        For  this  reason  the major difference between JBatch Batch mode 
  315.        and other Batch modes is that JBatch Batch only  sends  the  File 
  316.        Name and filesize and does not send the file creation date. 
  317.  
  318.        During Batch mode transfers, JBatch will display the last 3 files 
  319.        requested under the JBatch logo so that you may  have  a  running 
  320.        update  of  what's  happening.  The  present transfer progress is 
  321.        displayed in its own window alongside the JBatch logo. 
  322.  
  323.        Upon completion,  JBatch will  display  the  transfer  efficiency 
  324.        (CPS) alongside the filename.
  325.  
  326.    Receiving files in Batch mode:
  327.  
  328.        You do  not  have  to  supply  any  filename  during  batch  mode 
  329.        receives. You may of course, include a full drive:\path\ in place 
  330.        of a filename.  Use the F command line parameter to designate the 
  331.        path in the form:  f C:\FOO\BAR   (with or  without  the  trailing
  332.        backslash) 
  333.  
  334.    Sending files in batch mode:
  335.    
  336.        You  may  use  any  valid  DOS  wildcard configuration with the F 
  337.        parameter. 
  338.  
  339.        Additionally,  you may specify a list of filenames for JBatch  to 
  340.        send.  The list filename is specified as @drive:\path\listfilename
  341.  
  342.        You may of course, include a full drive:\path\ when using the @
  343.        option. 
  344.  
  345.        The filenames in the list may contain a  full  drive:\path\  (the 
  346.        same  or  different)  for  each  filename  or  you  may supply an 
  347.        external path when using the  @C:filelist  option in either batch 
  348.        upload or download modes. The format is  @C:[path]filelist@C:path 
  349.  
  350.        JBatch is capable of reading  and  extracting  filenames  from  a 
  351.        standard  -  single  line  - BBS files listing.  If you use a BBS 
  352.        type files  listing,  and  call  JBatch  from  the  comm  or  BBS 
  353.        directory,  you  will  have  to add the full drive:\path\ to each 
  354.        filename in the list if the files to send do not  reside  in  the 
  355.        default  directory.  There are other ways of accessing files that 
  356.        reside in directories other than the default (default upload  and 
  357.        download  directories,  etc.),  but  I won't go into this area as 
  358.        most comm and BBS programs do this work for you (K9X does it  ALL 
  359.        for you... automatically!) 
  360.  
  361. Examples:
  362.  
  363.    1.  Use COM1, 1200 baud, Send file MYFILE.DOC in single file mode
  364.  
  365.         JBATCH p1 s1200 b dS f MYFILE.DOC
  366.  
  367.    2.  Use COM2,  19200 baud, Batch Receive files *.DOC, do not 
  368.        monitor carrier, override the default "do not overwrite". 
  369.  
  370.         JBATCH p2 s19200 Y dR m
  371.  
  372.    3.  Use COM1, 9600 baud, Batch Send files in MYLIST.LST which resides 
  373.        in  my  C:\BBS\ directory.  The files listed in MYLIST.LST reside 
  374.        in various  directories  on  different  drives.  Do  not  monitor 
  375.        carrier and record success results to Node A of my BBS. 
  376.  
  377.         JBATCH p1 s9600 dS m nA f @C:\BBS\MYLIST.LST
  378.  
  379.         C:\BBS\MYLIST.LST looks like this:
  380.  
  381.           ABC.ARC            (this one resides in the default directory)
  382.           D:\FOO\BAR\MYGAME.EXE
  383.           E:\LOTUS\123GRAPH.ARC
  384.  
  385.        XFER.TXT  (or  XFER-A.TXT if ?  specified in the default xferfile 
  386.        name) will reflect the results of the transfer.  Note  that  only 
  387.        the  last  filename  and  its transfer results will be present in 
  388.        XFER.TXT.  JB.LOG will however,  contain the results of all three 
  389.        files. 
  390.  
  391.    4.  Use COM1, 9600 baud, Batch Send files in MYLIST.LST which resides 
  392.        in  my  C:\BBS\ directory.  The files listed in MYLIST.LST reside 
  393.        in my C:\UPLOADS directory.  Record success results to Node A  of 
  394.        my BBS. 
  395.  
  396.         JBATCH p1 s9600 dS nA f @C:\BBS\MYLIST.LST@C:\UPLOADS
  397.  
  398.         C:\DLS\MYLIST.LST looks like this:
  399.  
  400.           ABC.ARC
  401.           MYGAME.EXE
  402.           123GRAPH.ARC
  403.  
  404.        XFER.TXT  (or  XFER-A.TXT if ?  specified in the default xferfile 
  405.        name) will reflect the results of the transfer.  Note  that  only 
  406.        the  last  filename  and  its transfer results will be present in 
  407.        XFER.TXT.  JB.LOG will however,  contain the results of all three 
  408.        files. 
  409.  
  410.    5.  Use  COM2,  19200  baud,  Batch Send only files containing an ARC 
  411.        extension and residing in my C:\DLS directory,  and don't monitor 
  412.        carrier. 
  413.  
  414.         JBATCH p2 s19200 dS m f C:\DLS\*.ARC
  415.  
  416.    6.  Use COM2,  19200 baud, Batch Mode Receive files and store them 
  417.        in my C:\DLS directory. 
  418.  
  419.         JBATCH p2 s19200 dR f C:\DLS
  420.  
  421.    7.  Use COM1,  2400 baud, Receive MYFILE.ARC in single file mode and
  422.        store it in my C:\DLS directory. 
  423.  
  424.         JBATCH p2 s2400 b dR f C:\DLS\MYFILE.ARC
  425.  
  426. There are 3 sample batch files included in JBATCH.ARC 
  427.  
  428.     SJ.BAT    - this batch file is set up for sending file(s) to
  429.                 another system
  430.  
  431.     RJ.BAT    - this batch file is set up to receive file(s) from 
  432.                 another system
  433.  
  434.     RSJ.BAT   - this batch file will handle transfers in either 
  435.                 direction
  436.  
  437. Executing  any  one  of  the  batch files without any parameters (or the 
  438. wrong parameter) will  display  a  short  message  showing  the  correct 
  439. calling   procedure   and  parameter  choices.   Since  RJS.BAT  handles 
  440. transfers in either Send or Receive mode,  it  naturally  requires  more 
  441. information in order to perform correctly. 
  442.  
  443. NOTE: If you are operating a MiniNet BBS v18.00 or above... or K9X v8.00
  444.       or  above...  access  to JBatch is handled internally and does not 
  445.       require the use of the batch files. 
  446.  
  447.       If you are not... please read the enclosed PRODUCTS.TXT file...
  448.       It's worth a look! 
  449.  
  450.       For pure BBS'ing, K9X can't be beat!
  451.  
  452.  ------------------------------------------------------------------------------
  453.  
  454. Jbatch v1.15 Dated 11/02/88
  455.  
  456.     1) Repaired two minor bugs.
  457.  
  458.     2) Single file transfers in earlier versions of JBatch had no way of
  459.        detecting an aborted transfer...  thus, ALL single file transfers 
  460.        were recorded as successful.  Version 1.15 corrects this  problem 
  461.        by  creating  a  0  byte file upon successful JB completion.  The 
  462.        presence of the 0 byte file is checked after  each  execution  of 
  463.        JB.COM. If present, the transfer was successful. If a download is 
  464.        not  successful  and  the "save aborts" flag is off,  JBatch will 
  465.        automatically erase the partial file. 
  466.  
  467.     3) In  order  to  facilitate  the  use of  JBatch in a multinode BBS
  468.        environment the JB.COM module has  been  renamed  JBA.COM.  In  a 
  469.        multinode BBS environement, JBatch v1.15 requires the presence of 
  470.        an  exclusive  copy of JBA.COM for each node.   Each JB module is
  471.        named according to the BBS node  it  supports  (JBA.COM  supports 
  472.        node A, JBB.COM supports node B, JB1.COM supports node 1, etc.). 
  473.  
  474.        To  facilitate  a simple patching of JBA.COM for the other nodes, 
  475.        the file PATCHJB.COM is included.  To create multiple node copies 
  476.        of JBA.COM simply run PATCHJB as PATCHJB node where node equals A 
  477.        thru  Z or 0 thru 9.  PATCHJB will insert the node character into 
  478.        the JBA.COM module and rename the  JBA.COM  file  to  JB  +  node 
  479.        character + .COM. 
  480.  
  481.        Example: Create as JB module to support node C.
  482.  
  483.         1) type   PATCHJB C  at the DOS prompt
  484.         2) PATCHJB modifies JBA.COM replacing the default A with the new C
  485.         3) PATCHJB renames JBA.COM to JBC.COM
  486.  
  487.        If no node character is specified on the JBatch command line (the 
  488.        n  parameter),  JBatch  will use the A character...   as you have 
  489.        probably  surmised,   JBatch  appends  the  node  character   (or 
  490.        temporary A) to the JB module (JBA, JBB, JB1, etc). 
  491.  
  492.        Two cautions...
  493.  
  494.        PATCHJB  requires  the  original  JBA.COM  and  will  rename  the 
  495.        original JBA.COM to JBwhatever.COM...  Be sure you use a copy  of 
  496.        the  original!
  497.  
  498.        If you haven't any use for mutiple copies of JBA.COM, simply copy 
  499.        JBA.COM down into your comm directory and use it.  The default is 
  500.        JBA.COM 
  501.  
  502. Jbatch v1.16 Dated 11/05/88  Changes made per request of Bob Rapp...
  503.  
  504.        Jbatch is now able to handle multiple filenames  on  the  command 
  505.        line.  The  command  syntax remains the same but if more than one 
  506.        filename is specified,  JBatch will create its own BATCHLST file. 
  507.        If  a  Node  character  is  specified  on the command line,  that 
  508.        character will be used for the extension of BATCHLST. The default 
  509.        is "A" if no node character is specified.
  510.  
  511.        The number of filenames that can be specified will depend largely 
  512.        on  your  own particular system setup,  the string length used by 
  513.        your calling program and the individual filename lengths.
  514.  
  515.        This feature is only active while in  Batch  Send  Mode  (receive 
  516.        automatically  gets  filename  from  sender),  the  command  line 
  517.        paramaters can be in any order, NO WILDCARDS ARE ALLOWED and EACH
  518.        filename may include a full path. 
  519.  
  520.        Your command line should look like ...
  521.  
  522.               JBATCH DS P1 S9600 f FILE1 FILE2 FILE3
  523.  
  524.        Since the BATCHLST is created internally (by JBatch), Jbatch will 
  525.        erase  the  BATCHLST  file  once  it  is done with it...  You may 
  526.        override this by including an  E  as  one  of  the  command  line 
  527.        paramters.
  528.  
  529.        NOTE:  These changes only effect the  operation  of  JBatch  when 
  530.              multiple  filenames  are  specified  on  the  command line. 
  531.              Operation of JBatch in "normal" operation,  remains  as  it 
  532.              was before. 
  533.  
  534. Jbatch v1.17 Dated 12/04/88
  535.  
  536.        Modified  the  use  of  the  @C:filelist  option in order to pull 
  537.        JBatch into line with DSZ and RBBS.  The command syntax has  been 
  538.        changed: 
  539.  
  540.        old -   f@C:C:\WORK\filelist  
  541.  
  542.        new -   f @C:\WORK\filelist
  543.  
  544.                 or
  545.  
  546.        old -   f@C:C:\WORK\filelist@C:D:\PLAY
  547.  
  548.        new -   f @C:\WORK\filelist@D:\PLAY
  549.  
  550.        As you can see, instead of looking for an @C: string to designate 
  551.        the  use  of a filelist and optional path to the files to be send 
  552.        (the second @C:),  JBatch now checks  for  the  @  as  the  first 
  553.        character and the :  as the third character for both the filelist 
  554.        and optional files path.
  555.        
  556.  
  557.        Added a new Command Line Paramter for Use with  RBBS-PC.  RBBS-PC 
  558.        utilizes  a  true  Batch download with a single file mode upload. 
  559.        During uploads,  RBBS-PC includes the full path and filename  for 
  560.        the  f paramter.  Since JBatch Batch mode is a TRUE Batch in both 
  561.        downloads and uploads,  I have added the R command line switch to 
  562.        tell  JBatch  that  the  F  parameter  may (or may not) include a 
  563.        filename. When JBatch sees the R  parameter, it will look for the 
  564.        last \ or :  characters and parse all character after that,  thus 
  565.        leaving just the download path...  which it then appends  to  any 
  566.        uploads. The default is True (non RBBS-PC) batch uploads. 
  567.  
  568.        RBBS command line for Batch Receive using JModem Batch
  569.  
  570.            JBATCH.COM p[PORT#] s[BAUD] dr r n[NODE] f [FILE]
  571.  
  572.        RBBS command line for Batch Receive using JModem Batch
  573.  
  574.            JBATCH.COM p[PORT#] s[BAUD] ds r n[NODE] f [FILE]
  575.  
  576.  
  577.        example:  RBBS-PC passes [FILE] as  C:\RBBS\99\filename.ext
  578.                  (or your defined upload path) during uploads
  579.  
  580.        exclusion of the  R  command line parameter results in an invalid 
  581.        file specification of 
  582.  
  583.                   C:\RBBS\99\filename.ext\
  584.  
  585.        inclusion of the  R  command line parameter results in a valid file 
  586.        specification of 
  587.  
  588.                   C:\RBBS\99\
  589.  
  590.        for obvious reasons, if you use the R command line parameter, you 
  591.        must include the last  \  or at least one superflous  (non \ or : 
  592.        character) at the end of the  F  specification. 
  593.  
  594.        when using the R paramter...
  595.  
  596.         valid     C:\RBBS\99\*.*       results in   C:\RBBS\99\
  597.         valid     C:\RBBS\99\ABC.ARC   results in   C:\RBBS\99\
  598.         valid     C:\RBBS\99\          results in   C:\RBBS\99\
  599.         invalid   C:\RBBS\99           results in   C:\RBBS\
  600.         no f parameter                 results in   *.*  (all files saved in
  601.                                                           logged drive\dir)
  602.  
  603.        when using the default (non RBBS-PC)
  604.  
  605.         invalid   C:\RBBS\99\*.*       results in   C:\RBBS\99\*.*\
  606.         invalid   C:\RBBS\99\ABC.ARC   results in   C:\RBBS\99\ABC.ARC\
  607.         valid     C:\RBBS\99\          results in   C:\RBBS\99\
  608.         valid     C:\RBBS\99           results in   C:\RBBS\99\
  609.         no f parameter                 results in   *.*  (all files saved in
  610.                                                           logged drive\dir)
  611.  
  612. JBatch v1.18 Dated 12/17/88
  613.  
  614.        Modified the use of  the  f  (filespec)  parameter.  As  of  this 
  615.        version,  JBatch  will  assume  that  all command line parameters 
  616.        after the single f parameter are filenames or  filespecs.  If  in 
  617.        receive mode and no filespec(s) are present, JBatch will assign a 
  618.        *.* as the default filespec. If in upload mode and no filespec(s) 
  619.        are present, JBatch will abort. 
  620.  
  621.        What  this  means  is  that  the  f  command  line  paramter  and 
  622.        filespec(s) must be the last command line parameters supplied. 
  623.  
  624.        Examples:
  625.  
  626.           Batch Receive files to directory C:\DLS
  627.  
  628.                  JBATCH p1 s2400 dr f C:\DLS
  629.  
  630.           Batch Receive files to logged directory
  631.  
  632.                  JBATCH p1 s2400 dr f
  633.  
  634.           Batch Send C:\ULS\FILE1.ARC and D:\FOO\FILE2.ARC
  635.  
  636.                  JBATCH p1 s2400 ds f C:\ULS\FILE1.ARC D:\FOO\FILE2.ARC
  637.  
  638.           Batch Send D:\FOO\*.*
  639.  
  640.                  JBATCH p1 s2400 ds f D:\FOO\*.*
  641.  
  642.  
  643. JBatch v1.19 Dated 1/26/89 - Changes made per request of Don Smith
  644.  
  645.        Corrected a slight bug in which  JBatch  would report an abnormal
  646.        CPS count.  I suspect this was caused by an immediate abort or by
  647.        a transfer which began before midnight and ended after midnight.
  648.        In any case, JBatch will report a 1 byte CPS in these cases.
  649.  
  650.        Added  the  JB  Path  parameter  to  the  JBATCH  @ configuration 
  651.        section. 
  652.  
  653.        NOTE: If you have  JBA.COM  in a directory OTHER than your logged 
  654.              directory,  be sure to start up  JBATCH  as  JBATCH  @  and 
  655.              designate the FULL path to JBA.COM 
  656.  
  657.        Added  the  node charcater to the transfer window frame for those 
  658.        SysOps  who  are  operating  multiple  nodes  in   a   networking 
  659.        environment. 
  660.  
  661.        Added ErrorLevel exit.  If ALL transfers are  successful,  JBatch 
  662.        will  return  an   ERRORLEVEL 0   If ANY ONE of the transfers are
  663.        not successful, JBatch will return an   ERRORLEVEL 1 
  664.  
  665. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  666. N O T I C E    N O T I C E    N O T I C E    N O T I C E    N O T I C E
  667.  
  668. Due to the amount of time and money I have spent setting up  JBatch  for 
  669. use with your Comm/BBS programs,  I am requesting that you please send a 
  670. small contribution ($25.00 suggested) to compensate for the man hours  I 
  671. have spent developing, modifying and setting up this protocol driver.
  672. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  673.  
  674. All  suggestions  are gratefully received and reviewed!  Sysops,  Let me 
  675. know... 
  676.  
  677.                Sal Manaro  dba  Crater Rim Softare
  678.                4028 41st Ave South
  679.                Seattle, Wa 98118
  680.                (206) 723-6728  (voice)
  681.  
  682.                Underdog's MiniNet (206) 725-9233 (data)
  683.                1200/2400/9600   24hrs   600 megs OnLine
  684.                Supporting  22  files transfer protocols
  685.  
  686.                            Enjoy,
  687.                                 Sal Manaro
  688.  
  689.